package com.hhsjtest.segiui;

import java.util.HashMap;
import java.util.Map;

public class DynamicUiRegisterJavaV2 {

    public Map<String, String> businessTypeList() throws Exception {
        Map<String, String> result = new HashMap<>();
        result.putAll((Map<String, String>) (Class.forName("类名1").getDeclaredMethod("方法名1").invoke(null)));
        result.putAll((Map<String, String>) (Class.forName("类名2").getDeclaredMethod("方法名1").invoke(null)));
        result.putAll((Map<String, String>) (Class.forName("类名3").getDeclaredMethod("方法名1").invoke(null)));
        return result;
    }

    public Map<String, Class<?>> viewHolderTypeList() {
        Map<String, Class<?>> result = new HashMap<>();
//        result.putAll(DynamicUIMap__bus_advert.INSTANCE.viewHolders());
//        result.putAll(DynamicUIMap__bus_enter.INSTANCE.viewHolders());
        return result;
    }

    public Map<String, Class<?>> dataCallerTypeList() {
        Map<String, Class<?>> result = new HashMap<>();
//        result.putAll(DynamicUIMap__bus_advert.INSTANCE.callers());
//        result.putAll(DynamicUIMap__bus_enter.INSTANCE.callers());
        return result;
    }

}
